**************************************************************************************************
***************** Figure 8: Prevalence of Merger Pre-Notification Requirements	 *****************
**************************************************************************************************

use CCL_Law_Data_Ver1.dta,clear

preserve
keep if year >1949
keep if year <2011
drop if regional_group==1
drop if competition_law_coded_ever==0
drop if competition_law_in_place==0


gen prenot = 0
replace prenot = 1 if merger_not_mandatory_before==1

tab prenot if year ==1950
tab prenot if year ==1970
tab prenot if year ==1980
tab prenot if year ==1990
tab prenot if year ==2010

egen EFF = mean(prenot), by(year)

egen tag = tag(year)
twoway line EFF year if tag, sort saving(prenot) graphregion(color(white)) bgcolor(white) xtitle("Year") ytitle("Proportion")  lpattern(1 _ shortdash_dot longdash) xla(1950(10)2010) yla(0(.1)1.05)

